package com.drugStorage.hibernate.dao;

import java.util.List;

import com.drugStorage.domain.Department;

/**
 * 部门数据访问对象
 * @author kirk
 *
 */
public interface DepartmentDao {

	/**
    * 保存添加部门
    */
	public void saveDepartment(Department department);
	/**
	 * 删除部门
	 */
	public void delDepartment(Department department);
	/**
	 * 更新部门信息
	 */
	public void updateDepartment(Department department);
	/**
	 * 利用ID获取部门
	 */
	public Department getDepartment(int id);
	/**
	 * 获取部门列表
	 * 
	 */
	public List<Department> getDepartments();
}
